package com.jiangxjsy.crm.mapper;

import com.jiangxjsy.model.crm.entity.CrmCustomerPoolRule;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * wukong-crm-master
 * 蒋胜宇
 * 2025/6/17 16:04
 */

public interface CrmCustomerPoolRuleMapper {
    /**
     * 根据池id查询规则
     *
     * @param poolId 池id
     * @return 规则列表
     */
    @Select("select * from wk_crm_customer_pool_rule where pool_id = #{poolId}")
    List<CrmCustomerPoolRule> selectByPoolId(@Param("poolId") Long poolId);
}
